package com.media.publish

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.baselibrary.bean.ReleaseTopicBean

/**
 * @author: 关忆北、
 * @date: 2022/4/20
 * @Des：
 */
class DynamicSearchTopicViewModel : ViewModel() {
    var searchTopicLD: MutableLiveData<List<ReleaseTopicBean.DataBean>> = MutableLiveData()
    //type 0选择话题 1全部话题
    fun reqSearchTopic(tagCategoryId: Long,type: Int) {
        CommunityRequestManager.getInstance().reqSearchTopic(tagCategoryId,type, searchTopicLD)
    }
}